home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
PlayerPRO 4.5.1
/
Plug-Ins
/
Import⁄Export Plugs
/
S3M.h
< prev
next >
Wrap
Text File
|
1995-05-20
|
1KB
|
64 lines
#ifndef COMPIL68K
#pragma options align=mac68k
#endif
typedef struct s3mform
{
char name[28];
char sig1;
char type;
char sig2[2];
short ordernum;
short insnum;
short patnum;
short flags;
short cwtv;
short ffv;
char s3msig[4];
unsigned char mastervol;
unsigned char initialspeed;
unsigned char initialtempo;
unsigned char mastermul;
char sig3[12];
unsigned char chanset[32];
unsigned char *orders;
unsigned short *parapins;
unsigned short *parappat;
struct s3minsform *insdata;
} s3mform;
typedef struct s3mPatform
{
Byte note; // hi = oct, lo = note
Byte intru;
Byte vol;
Byte SpecialCom;
Byte ComArg;
} s3mPatform;
typedef struct s3minsform
{
unsigned char instype;
unsigned char insdosname[12];
unsigned char inssig1;
unsigned short insmemseg;
unsigned long inslength;
unsigned long insloopbeg;
unsigned long insloopend;
unsigned char insvol;
unsigned char insdsk;
unsigned char inspack;
unsigned char insflags;
unsigned short insloc2spd;
unsigned short inshic2spd;
unsigned char inssig2[4];
unsigned short insgvspos;
unsigned short insint512;
unsigned long insintlastused;
unsigned char insname[28];
unsigned long inssig;
} s3minsform;
#ifndef COMPIL68K
#pragma options align=power
#endif